package com.vue.vuedemo.service.impl;

import com.vue.vuedemo.dao.WeiJinCiMapper;
import com.vue.vuedemo.pojo.Weijinci;
import com.vue.vuedemo.service.WeiJinCiService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

@Service("WeiJinCiService")
public class WeiJinCiServiceImpl implements WeiJinCiService {

    @Resource
    private WeiJinCiMapper weiJinCiMapper;

    @Override
    public List<Weijinci> weijinciFindAll() {
        return weiJinCiMapper.weijinciFindAll();
    }

    @Override
    public void weijinciAdd(Weijinci weijinci) {
        weiJinCiMapper.weijinciAdd(weijinci);
    }

    @Override
    public void weijinciDel(Integer id) {
        weiJinCiMapper.weijinciDel(id);
    }
}
